package com.oocl.euc.core.requestform.model;

import com.oocl.euc.audit.AuditEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

@Entity
@Table(name = "PCRS_REQUEST_PROCEDURES")
@SequenceGenerator(name = "SEQUENCE_GENERATOR", sequenceName = "REQUEST_PROCEDURES_SEQUENCE", allocationSize = 1)
public class RequestProcedures extends AuditEntity {


    @Column(name = "REF_NO")
    private String refNo;
    @Column(name = "PROCEDURE_TYPE", length = 20)
    private String procedureType;
    @Column(name = "PROCEDURE_SEQ")
    private Integer procedureSeq;
    @Column(name = "PROCEDURE_DESC", length = 4000)
    private String procedureDesc;
    @Column(name = "HANDLED_BY", length = 125)
    private String handledBy;
    @Column(name = "CONTACT_NO", length = 60)
    private String contactNo;
    @Column(name = "TASK_STATUS")
    private String taskStatus;
    @Column(name = "TASK_REMARK")
    private String taskRemark;

    public String getRefNo() {
        return refNo;
    }

    public void setRefNo(String refNo) {
        this.refNo = refNo;
    }

    public String getProcedureType() {
        return procedureType;
    }

    public void setProcedureType(String procedureType) {
        this.procedureType = procedureType;
    }

    public Integer getProcedureSeq() {
        return procedureSeq;
    }

    public void setProcedureSeq(Integer procedureSeq) {
        this.procedureSeq = procedureSeq;
    }

    public String getProcedureDesc() {
        return procedureDesc;
    }

    public void setProcedureDesc(String procedureDesc) {
        this.procedureDesc = procedureDesc;
    }

    public String getHandledBy() {
        return handledBy;
    }

    public void setHandledBy(String handledBy) {
        if (handledBy != null) {
            this.handledBy = handledBy.trim();
        }
    }

    public String getContactNo() {
        return contactNo;
    }

    public void setContactNo(String contactNo) {
        this.contactNo = contactNo;
    }

    public String getTaskStatus() {
        return taskStatus;
    }

    public void setTaskStatus(String taskStatus) {
        this.taskStatus = taskStatus;
    }

    public String getTaskRemark() {
        return taskRemark;
    }

    public void setTaskRemark(String taskRemark) {
        this.taskRemark = taskRemark;
    }

}
